package guoanmaker.operator.business.modelnobind;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class OderFormRo {
    private String   id;
	private String orderNumber;//订单编号                               1
	private Date placeOrderTime;//下单时间             7
	private Integer quantity;//数量
	private Double unitPrice;//商品单价                              4
	private Double realPrice;//实际价格 
	private String orderStatus;//订单状态1待支付  2待接单  3服务中  4待确认   5退款处理中(用户发起退款)   6已完成   7已关闭  8退款完成  9退款处理中(商家已拒绝退款)      8
	private String remark;//备注
	private Date defrayTime;//支付时间
	private Date acceptOrderTime;//接单时间
	private String defrayNumber;//支付单号
	private Date applyforCompleteTime;//商家完成服务时间
	private Date confirmTime;//买家确认完成时间
	private Date applyforRefundsTime;//买家申请退款时间
	private Date confirmRefundsTime;//商家确认退款时间
	private Date denyRefundsTime;//商家拒绝退款时间
	private String denyRefundsReason;//拒绝退款原因
	private String contactPerson;//联系人
	private String contactNumber;//联系电话
	private String requirementDescription;//需求描述
	private String isOverChangePrice;//是否完成议价商品修改价格 1为已完成
	private String orderType;//订单类型 1一口价商品(非议价)   2议价商品   3预约参观     4活动报名     5租用工位
	private String userCompany;//活动报名用户所在公司
	private String visitTime;//预约参观时间
	private Integer visitorsNum;//参观人数
	private Date rentedBeginDate;//租用起始时间
	private Date rentedEndDate;//租用结束时间
	private Integer rentedNum;//租用天数
	private Date closeTime;//订单关闭时间
	
	private String name;//名字                6
	private String commodityName; //商品名称               2
	
    private String serverName;//服务种类名称    3
	
	private String coupons;  //优惠券        5
	
	private String businessName;//商户名称      9  
	
	private String invoiceState;//给用户的开票状态  0为用户已申请开票，1为已经开票


    private String placeOrderType;//下单方式  1为PC   2为APP
	private Double preferentialMoney;//优惠金额
	private String username;//用户名(手机号)
	
	private String companyName;
	private String couponid;//优惠券id
	private Double truePrice;//实际价格(发生退款不变)
	private Double spikePrice;//秒杀金额
	
	private String  userid;
	private BigDecimal commission;//收取佣金
	private BigDecimal bail;//保证金
	private BigDecimal fee;//手续费
	private Double refundsAmount;//退款金额
	private Double returnPreferentialMoney;
	
	public OderFormRo() {
		super();
	}

	public OderFormRo(String id, String orderNumber, Date placeOrderTime, Double realPrice, String orderStatus,
			String invoiceState,String name,String commodityName,String businessName,String serverName,String placeOrderType,Double preferentialMoney,String username,String companyName,String couponid,Double truePrice,String userid,
			BigDecimal commission,BigDecimal bail,BigDecimal fee,Double refundsAmount) {
		super();
		this.id = id;
		this.orderNumber = orderNumber;
		this.placeOrderTime = placeOrderTime;
		this.realPrice = realPrice;
		this.orderStatus = orderStatus;
		this.invoiceState = invoiceState;
		this.name = name;
		this.commodityName = commodityName;
		this.businessName = businessName;
		this.serverName = serverName;
		this.placeOrderType = placeOrderType;
		this.preferentialMoney = preferentialMoney;
		this.username = username;
		this.companyName = companyName;
		this.couponid = couponid;
		this.truePrice = truePrice;
		this.userid = userid;
		this.commission = commission;
		this.bail = bail;
		this.fee = fee;
		this.refundsAmount = refundsAmount;
	}





	public OderFormRo(String id, String orderNumber, Date placeOrderTime, Double realPrice, String orderStatus,
			String invoiceState,String name,String commodityName,String businessName,String serverName,String placeOrderType,Double preferentialMoney,String username,String companyName,String couponid,Double truePrice,String userid,
			BigDecimal commission,BigDecimal bail,BigDecimal fee,Double refundsAmount,Double returnPreferentialMoney) {
		super();
		this.id = id;
		this.orderNumber = orderNumber;
		this.placeOrderTime = placeOrderTime;
		this.realPrice = realPrice;
		this.orderStatus = orderStatus;
		this.invoiceState = invoiceState;
		this.name = name;
		this.commodityName = commodityName;
		this.businessName = businessName;
		this.serverName = serverName;
		this.placeOrderType = placeOrderType;
		this.preferentialMoney = preferentialMoney;
		this.username = username;
		this.companyName = companyName;
		this.couponid = couponid;
		this.truePrice = truePrice;
		this.userid = userid;
		this.commission = commission;
		this.bail = bail;
		this.fee = fee;
		this.refundsAmount = refundsAmount;
		this.returnPreferentialMoney = returnPreferentialMoney;
	}
	public OderFormRo(String id, String orderNumber, Date placeOrderTime, Double realPrice, String orderStatus,Date defrayTime,
			String invoiceState,String name,String commodityName,String businessName,String serverName,String placeOrderType,Double preferentialMoney,String username,String companyName,String couponid,Double truePrice,Double spikePrice) {
		super();
		this.id = id;
		this.orderNumber = orderNumber;
		this.placeOrderTime = placeOrderTime;
		this.realPrice = realPrice;
		this.orderStatus = orderStatus;
		this.defrayTime = defrayTime;
		this.invoiceState = invoiceState;
		this.name = name;
		this.commodityName = commodityName;
		this.businessName = businessName;
		this.serverName = serverName;
		this.placeOrderType = placeOrderType;
		this.preferentialMoney = preferentialMoney;
		this.username = username;
		this.companyName = companyName;
		this.couponid = couponid;
		this.truePrice = truePrice;
		this.spikePrice = spikePrice;
	}
	
	
	
}
